<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>未知大小图片垂直居中-品购网</title>

<link rel="stylesheet" href="css/reset.css" type="text/css" />
<link type="text/css" rel="stylesheet" href="css/global.css" />


<script type="text/javascript" src="js/jquery.min.js"></script>

  
 <style type="text/css">
.box{ background:#FFF; width:300px; margin:20px auto; border:1px solid #CCC; height:300px; line-height:300px; text-align:center; display:table-cell; vertical-align:middle;}

 </style> 

</head>
<body>

<div class="box">

<img src="js/skins/icons/loading.gif" alt="头像" />

</div>

</body>
</html>